#ifndef MYBUTTONS_H
#define MYBUTTONS_H

#include <QWidget>

namespace Ui {
class MyButtons;
}

class MyButtons : public QWidget
{
    Q_OBJECT

public:
    explicit MyButtons(QWidget *parent = nullptr);
    ~MyButtons();
    //枚举页面
    enum GroupPage{StartPage,GrapPage,PlayCard1,PlayCard2,EmptyPage};
    //初始化按钮
    void  initButtonImage();
    //选择页面
    void selectGroup(GroupPage page);
    //信号函数
    void StartGame();
    void GrapLander();
    void PlayCardOne();
    void PlayCardTwo();
    //信号
signals:
    void betPoint(int point);
private:
    Ui::MyButtons *ui;
};

#endif // MYBUTTONS_H
